#pragma once

#include "XiConfig.hpp"

#include <string>

XI_NAMESPACE_BEGIN

#if defined(_MSC_VER) && _MSC_VER <= 1500
	typedef unsigned __int8 XiUInt8;
	typedef unsigned __int16 XiUInt16;
	typedef unsigned __int32 XiUInt32;
	typedef unsigned __int64 XiUInt64;
#else
#	error
#endif

#if defined(_MSC_VER) && defined(_NATIVE_WCHAR_T_DEFINED)
	typedef wchar_t XiChar;
#else
#	error
#endif

typedef std::basic_string<XiChar> XiString;

XI_NAMESPACE_END